home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 November / PCWorld_2006-11_cd.bin / system / innosetup / isetup-5.1.8.exe / {app} / Examples / Components.iss < prev    next >
Text File  |  2006-10-03  |  1KB  |  34 lines

  1. ; -- Components.iss --
  2. ; Demonstrates a components-based installation.
  3.  
  4. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
  5.  
  6. [Setup]
  7. AppName=My Program
  8. AppVerName=My Program version 1.5
  9. DefaultDirName={pf}\My Program
  10. DefaultGroupName=My Program
  11. UninstallDisplayIcon={app}\MyProg.exe
  12. OutputDir=userdocs:Inno Setup Examples Output
  13.  
  14. [Types]
  15. Name: "full"; Description: "Full installation"
  16. Name: "compact"; Description: "Compact installation"
  17. Name: "custom"; Description: "Custom installation"; Flags: iscustom
  18.  
  19. [Components]
  20. Name: "program"; Description: "Program Files"; Types: full compact custom; Flags: fixed
  21. Name: "help"; Description: "Help File"; Types: full
  22. Name: "readme"; Description: "Readme File"; Types: full
  23. Name: "readme\en"; Description: "English"; Flags: exclusive
  24. Name: "readme\de"; Description: "German"; Flags: exclusive
  25.  
  26. [Files]
  27. Source: "MyProg.exe"; DestDir: "{app}"; Components: program
  28. Source: "MyProg.chm"; DestDir: "{app}"; Components: help
  29. Source: "Readme.txt"; DestDir: "{app}"; Components: readme\en; Flags: isreadme
  30. Source: "Readme-German.txt"; DestName: "Liesmich.txt"; DestDir: "{app}"; Components: readme\de; Flags: isreadme
  31.  
  32. [Icons]
  33. Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
  34.